package no.sachmuld.methodcombination.examples.annotation.clossimplestyle.around;

import no.sachmuld.methodcombination.api.MethodCombinationSupport;
import no.sachmuld.methodcombination.api.annotation.MethodCombinationException;
import no.sachmuld.methodcombination.api.annotation.Min;
import no.sachmuld.methodcombination.api.annotation.UsesMethodCombination;

/**
 *
 */
@UsesMethodCombination(PrimaryFooBehaviour.class)
public class Foo extends MethodCombinationSupport<FooBehaviour> {

    @Min(aroundBehaviour = AroundFooBehaviour.class)
    public final int bar() {
        throw new MethodCombinationException();
    }

}
